//引入express添加路由
const express = require('express');
const router = express.Router();

const mallHandler = require('../../models/mall');

router.get('/select', mallHandler.mallSelect);
router.post('/add', mallHandler.mallAdd);
router.get('/all/:id', mallHandler.mallAll);
router.post('/edit/:id', mallHandler.mallEdit);
router.post('/delete/:id', mallHandler.mallDelete);






module.exports = router;